package com.ruoyi.yuangong.mapper;

import com.ruoyi.yuangong.domain.Paibangaunli;
import com.ruoyi.yuangong.domain.vUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * paibanMapper接口
 *
 * @author ruoyi
 * @date 2023-11-08
 */
@Mapper
public interface PaibangaunliMapper {
    /**
     * 查询paiban
     *
     * @param id paiban主键
     * @return paiban
     */
    Paibangaunli selectPaibangaunliById(Integer id);

    /**
     * 查询paiban列表
     *
     * @param paibangaunli paiban
     * @return paiban集合
     */
    List<Paibangaunli> selectPaibangaunliList(Paibangaunli paibangaunli);

    /**
     * 新增paiban
     *
     * @param paibangaunli paiban
     * @return 结果
     */
    int insertPaibangaunli(Paibangaunli paibangaunli);

    /**
     * 修改paiban
     *
     * @param paibangaunli paiban
     * @return 结果
     */
    int updatePaibangaunli(Paibangaunli paibangaunli);

    /**
     * 删除paiban
     *
     * @param id paiban主键
     * @return 结果
     */
    int deletePaibangaunliById(Integer id);

    /**
     * 批量删除paiban
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    int deletePaibangaunliByIds(String[] ids);

    vUser selectVUserById(Long userId);
}
